package com.example.WeChat.Entity;

import lombok.Data;

import java.sql.Timestamp;

@Data
public class User {
    private Long userId;
    private String userName;
    private String email;
    private String phone;
    private String avatarUrl;
    private Timestamp registrationDate;

    public User() {
    }

    public User(Long userId, String userName, String email, String phone, String avatarUrl, Timestamp registrationDate) {
        this.userId = userId;
        this.userName = userName;
        this.email = email;
        this.phone = phone;
        this.avatarUrl = avatarUrl;
        this.registrationDate = registrationDate;
    }
}
